package ajoclass.unittest;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @GetMapping("/")
    public String hello(){
        return "hello cicd";
    }

    @GetMapping("/health")
    public ResponseVo health(){
        ResponseVo vo = new ResponseVo();
        vo.setCode("success");
        vo.setMsg("成功");
        return vo;
    }

}
